#  Name:		media
#  Version:		0.3
#  Part Of:		linuxrules
#  Modified:	Sat Oct 23 2010, 06:18:44

#  See COPYING for linuxrules GPL3 licensing info.

BEGIN {
	"echo /media/* 2>/dev/null" | getline

    gsub(/\/media\//, "")

    if ($1 !~ "\*")
        _media["MEDIA"] = "\"" $0 "\""
    else
        _media["MEDIA"] = "\"\""

    close("echo /media/* 2>/dev/null")
}

# vim:ft=awk:
